home *** CD-ROM | disk | FTP | other *** search
Makefile | 2001-09-11 | 417 b | 25 lines |
- # Edit these options according to your machine
- # ppunpack is written in ansi C, with prototypes,
- # but it should be straightforward to convert it
- # to K&R C
-
- COPTS=-O3
- CC=gcc
- OBJ=depack.o ppunpack.o
-
- all: ppunpack check
-
- ppunpack: $(OBJ)
- $(CC) $(COPTS) -o ppunpack $(OBJ)
-
- sf: ppunpack
- ppunpack sf.pp sf
-
- check: sf
- diff sf sf.chk
-
- .c.o:
- $(CC) -c $(COPTS) $*.c
- clean:
- del ppunpack $(OBJ)
-